package com.starmark.core.actable.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 配置
 *
 * @author starmark
 * @create 2018-04-07 16:37
 **/
@Configuration
@ConfigurationProperties(prefix = "starmark.actable")//前缀
@Data
public class ActableConfig {

    /**
     * 要扫描的model所在的pack
     */

    private String pack;


    /**
     * 默认主键
     */
    private String primarykey = "id";

    /**
     * 自动创建模式：update表示更新，create表示删除原表重新创建
     */

    private String tableAuto = "update";

}
